package top.mhtools.pigeon.wechat.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.mhtools.pigeon.common.persistence.WeChatRequest;

import java.util.List;

/**
 * 企业微信基类
 * TODO：考虑与钉钉抽象为一个共同基类
 *
 * @author machen
 * @date 2020/6/11 17:46
 */
@Data
public class BaseWeChatMessageDTO implements WeChatRequest {

    @ApiModelProperty(value = "消息类型", example = "text or markdown, text")
    private String msgtype;

    @ApiModelProperty(value = "群机器人Token", required = true)
    private String token;

    @ApiModelProperty(value = "模板ID")
    private String templateId;

    @ApiModelProperty(value = "被@人的手机号(在text内容里要有@手机号)")
    private List<String> atMobiles;

    @Override
    public WeChatMessageReqDTO getWeChatMessageReqDTO() {
        return null;
    }

    @Override
    public WeChatMessageReqDTO.Markdown getMarkdown() {
        return null;
    }

}
